Skip to content

Add TerminalBench 4.0 - #3366

Draft
lafrancef wants to merge 26 commits into
mainfrom
flafrance/terminal-bench-4
Draft

lafrancef wants to merge 26 commits into
mainfrom
flafrance/terminal-bench-4

Conversation

@lafrancef

Copy link
Copy Markdown

This is based on #3332

It adds TB4 through the Harbor integration and includes several sub-changes to make all tasks run and be observable.

WIP:

  • Some tasks still don't run healthily; implementation may have to change to make them run
  • Target harness is likely to change to align with AA methodology

Known limitations:

  • Some TB4 tasks require a GPU sandbox. Right now this is handled by allowing to pass different sandbox domains for CPU vs GPU. This is not general, but allows us to run the whole benchmark as one unit.

@copy-pr-bot

copy-pr-bot Bot commented Sep 14, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

@lafrancef
lafrancef force-pushed the flafrance/terminal-bench-4 branch from 53ee407 to 8b41d2f Compare September 15, 2026 09:30
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
…acts

Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Translate Harbor's static no-network policy into deny-all OpenSandbox egress for single-container environments. Keep public agent configuration intact and reject unsupported providers, Compose isolation, allowlists, and runtime policy switching.

Validation: 75 Harbor integration tests passed; both affected TB4 tasks completed capped model runs and official separate verification without Harbor exceptions. Live probes confirmed hostname/direct-IP blocking and artifact transfer. Document the deployment's IPv6 loopback limitation.
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Pass Compose shared-memory sizes to OpenSandbox create metadata, preserve explicit root UID zero, and retain declared ports across sandbox serialization and reconnection.

Validation: 113 targeted Compose, sandbox reconnect, and Harbor adapter tests passed. Ruff and diff checks passed.
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Add pinned TB4 resources with explicit session ownership, budgets, official
verification, persisted retries, and borrowed sandbox handoffs. Run OpenCode
and generic mini-SWE in their Gym agent servers, preserving existing clients.

Add lifecycle, cancellation, artifact, MCP, and configuration coverage plus
real smoke validation utilities and migration documentation.

Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
Signed-off-by: Frederic Lafrance <flafrance@nvidia.com>
@lafrancef
lafrancef force-pushed the flafrance/terminal-bench-4 branch from 8b41d2f to ac92e3b Compare September 15, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant